package com.oa.pm.entity;


import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;


import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 培训计划
 * </p>
 *
 * @author syb123
 * @since 2019-01-22
 */
@Data
@TableName("pm_training_plan")
@ApiModel(value = "培训计划")
public class TrainingPlan extends Model<TrainingPlan> {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "培训时间")
    private Date traningTime;

    @ApiModelProperty(value = "培训主题")
    private String trainingTopic;

    @ApiModelProperty(value = "培训目的")
    private String trainingPurpose;

    @ApiModelProperty(value = "培训内容")
    private String traningContent;

    @ApiModelProperty(value = "培训讲师")
    private String trainingInstructors;

    @ApiModelProperty(value = "缺席人员及原因")
    private String trainingRegister;

    @ApiModelProperty(value = "培训对象")
    private String trainingObject;

    @ApiModelProperty(value = "培训形式")
    private String trainingForm;

    @ApiModelProperty(value = "培训课时")
    private String trainingClass;

    @ApiModelProperty(value = "培训地点")
    private String traningSite;

    @ApiModelProperty(value = "费用预算")
    private String cost;

    @ApiModelProperty(value = "备注")
    private String remake;

    @ApiModelProperty(value = "是否删除（1-已删除 2-未删除）")
    private Integer isDeleted;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}